package com.rainy.sso.client.entity;

import lombok.Data;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
import java.util.Set;


/**
 * @author liuqin on 2017-12-20 16:17:30
 */
@Data
public class User implements Serializable {
	
	private Long id;

	//用户昵称
	private String nickname;

	//邮箱|登录帐号
	private String email;

	//密码
	private String pswd;

	//创建时间
	private Date createTime;

	//最后登录时间
	private Date lastLoginTime;

	//1:有效，0:禁止登录
	private Long status;

	private Set<Role> roles;

	private Set<Permission> permissions;


}
